package com.sneakxy.beans;

import java.io.Serializable;
import java.util.Date;

import org.springframework.data.annotation.Id;

import com.sneakxy.mybatis.commons.annotations.Table;

/**
 * @author 潜行的青衣
 * 
 */
@Table("t_user")
public class Dept implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3877452876965895771L;

	/**
	 * 复合主键
	 */
	@Id
	private DeptId id;
	
	private String parent_id;
	
	private String name;
	
	private Date ctime;
	
	public DeptId getId() {
		return id;
	}

	public void setId(DeptId id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCtime() {
		return ctime;
	}

	public void setCtime(Date ctime) {
		this.ctime = ctime;
	}

	public String getParent_id() {
		return parent_id;
	}

	public void setParent_id(String parent_id) {
		this.parent_id = parent_id;
	}

}
